package oop_06.homework03;

public class Test {
    public static void makeFly(CanFly canFly){
        canFly.fly();
    }

    public static void main(String[] args) {
        CanFly canFly = new brid();
        canFly.fly();

        makeFly(canFly);

        canFly = new plane();
        canFly.fly();

        makeFly(canFly);

    }
}
